package tech.xiaozai.exam;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import tech.xiaozai.exam.security.config.JWTConfig;

/**
 * @author xiaozai
 * @version 1.0
 * @date 2020-10-06 16:39
 */
@SpringBootApplication
@EnableConfigurationProperties({JWTConfig.class})
@MapperScan(basePackages = {"tech.xiaozai.exam.mapper","tech.xiaozai.exam.custom.mapper"})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
